﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Mammut.Negocio;

namespace Mammut.pruebas
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }


        gestion_ciudad objeto_gestion = new gestion_ciudad();
        gestion_pais objetoPais = new gestion_pais();
        gestion_provincia objeto_provincia = new gestion_provincia();

        private void button1_Click(object sender, EventArgs e)
        {
            objeto_provincia.insertar_provincia(textBox1.Text.Trim(), Convert.ToInt32(textBox2.Text));
            MessageBox.Show("agregado!");

        }
    }
}
